<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./css/index.css">
    <script src="./js/vue.js"></script>
</head>

<body>
    <div id="app">
        <div class="main">
            <div class="header">
                <img src="./img/捕获.PNG" alt="">
            </div>
            <div class="content">
                    <div class="one">ONE</div>
                    <div class="sj1"></div>
                    <div class="new">NEW</div>
                <div class="content-top" v-for='item,index in msg1'>
                    <h2>{{item.h2}}</h2>
                    <p>{{item.p}}</p>
                    <img :src="item.img" alt="">
                    <button>{{item.button}}</button>
                </div>
                <div class="content-buttom" v-for='item,index in msg2'>
                    <div class="two">TWO</div>
                    <div class="sj2"></div>
                    <div class="new1">NEW</div>
                    <div class="new2">NEW</div>
                    <div class="new3">NEW</div>
                    <h2>{{item.h2}}</h2>
                    <p class="p1">{{item.p1}}</p>
                    <p>{{item.p2}}</p>
                    <p>{{item.p3}}</p>
                    <p>{{item.p4}}</p>
                    <button>{{item.button}}</button>
                </div>
            </div>
        </div>
    </div>
    <script>
        let app = new Vue({
            el: '#app',
            data: {
                msg1: [
                    {
                        h2: "连线学习",
                        p: '可以创建私密学习房,和好友学习不再被人打扰',
                        img: './img/1.png',
                        button: '试试新的连线学习'
                    },

                ]
                , msg2: [{

                    h2: '树洞对讲机',
                    p1: '学习生活中遇到烦心事？快来这里和小伙伴们一起吐槽！',
                    p2: '频道内有主题，方便你找到组织',
                    p3: '对讲人数无上限，一起吐槽一起high',
                    p4: '频道内直接组学习局，遇到合拍的人别放走！',
                    button: '频道high聊中，快去看看>'
                }]
            }
        })
    </script>
</body>

</html>